package cn.mesmile.order.service;

import cn.mesmile.order.entity.Order;
import com.baomidou.mybatisplus.extension.service.IService;

import java.math.BigDecimal;

/**
 * @author zb
 * @date 2020/12/16 11:10
 * @Description
 */
public interface OrderService extends IService<Order> {

    /**
     *  交易
     * @param productId
     * @param number
     * @return
     */
    Boolean transaction(Long productId, Long number);

}
